<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
 include $this->CompilerInclude("header.htm");
 ?>

    <!-- content -->
    <div class="content clearfix">
        <div class="breadcrumbs"><a href="#">首页</a><span>></span><a href="#">作者</a><span>></span><h1><?php echo $GLOBALS['_vars']['uname']; ?></h1></div>
        <div class="main-col mod-author-page">
            <div class="author-box">
                <div class="author-info clearfix" id="userInfo" style="padding:15px;">
                    <span class="user"><a href="index.php?action=guestbook&uid=<?php echo $GLOBALS['_vars']['userid']; ?>" /}&action=infos" class="thumb">
                    <?php if($_vars['face']==''){ ?> <img src="space/person/common/images/noavatar.gif" alt="<?php echo $row['uname']; ?>还没设置头像" /> <?php
}
else{
?> <img src="<?php echo $GLOBALS['_vars']['face']; ?>" alt="<?php echo $GLOBALS['_vars']['uname']; ?>的头像" /> <?php } ?>
                    </a></span>
                    <strong class="title"><?php echo $GLOBALS['_vars']['uname']; ?></strong>
                    <p class="info">
                        昵 称：<?php echo $GLOBALS['_vars']['uname']; ?><br/>
                        性 别：<?php echo $GLOBALS['_vars']['sex']; ?><br/>
                        会员等级：<?php echo $GLOBALS['_vars']['membername']; ?><br/>
                        会员积分：<?php echo $GLOBALS['_vars']['scores']; ?>分<br/>
                        空间访问：<?php echo $GLOBALS['_vars']['homecount']; ?>次<br/>
                        发布教程数：38<br/>
                    </p>
                    <p class="text" style="padding:10px 0;">
                        <a href="index.php?action=guestbook&uid=<?php echo $GLOBALS['_vars']['userid']; ?>"><span>给<?php echo $GLOBALS['_vars']['uname']; ?>留言</span></a>
                    </p>
                </div>
                
                <div class="mod-post-list-1 mod-post-list-2">
                   
                    <?php
$atts = array();
$atts['tagname'] = 'spacenewart';
$atts['row'] = '10';
$atts['titlelen'] = '120';
$blockValue = MakePublicTag($atts,$this->refObj,$fields); 
if(is_array($blockValue) && count($blockValue) > 0){
foreach( $blockValue as $key=>$fields )
{
?>
                    <div class="post clearfix">
                        <span class="post-image"><a class="thumb" href="<?php echo $fields['arcurl']; ?>"><img src="<?php echo $fields['litpic']; ?>" onerror="this.src='/images/default.jpg'" /></a></span>
                        <h2 class="post-title"><a href="<?php echo $fields['arcurl']; ?>"><?php echo $fields['title']; ?></a></h2>
                        <p class="text"><?php echo $fields['description']; ?></p>
                        <p class="info">
                        <a href="<?php echo $fields['arcurl']; ?>" target="_blank" title="<?php echo $fields['title']; ?>">浏览</a>(<?php echo $fields['click']; ?>)
                        <span>|</span>
                        <a href="<?php echo $fields['arcurl']; ?>#_userlogincomments" target="_blank">评论</a>(<?php echo $fields['scores']; ?>)
                        <span>|</span>
                        <?php echo MyDate('Y-m-d',$fields['pubdate']); ?>
                        </p>
                    </div>
                    <?php
}
}
?>
                    <div class="more-posts"><a href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>&action=archives">查看更多“<?php echo $GLOBALS['_vars']['uname']; ?>”的文章</a></div>
                                 
                    <!--div class="page-navi">
                    </div-->
                </div>
            </div>
            <!-- MOD:END -->
        </div>
        <div class="right-sidebar">
            <?php include $this->CompilerInclude("sidebar.htm");
 ?>
        </div>
    </div>
    <!-- content end -->



<?php include $this->CompilerInclude("footer.htm");
 ?>
</body>
</html>